package com.pig4cloud.pigx.user.constant;

/**
 * @Description: dapp系统模块 i18n
 * @Date: 2022/8/28 14:52
 */
public interface I18nMessages {

	/**
	 * 操作失败
	 */
	String OPERATION_FAILURE = "operation.failure";

	/**
	 * 异常请求
	 */
	String ABNORMAL_REQUEST = "abnormal.request";

	/**
	 * 服务异常
	 */
	String SERVICE_ABNORMAL = "service.abnormal";

	/**
	 * 数据状态已发生改变，请刷新重试
	 */
	String DATA_STATUS_HAS_CHANGED = "data.status.has.changed";

	//——————User——————————————
	/**
	 * 邮箱不能为空
	 */
	String EMAIL_CANNOT_BE_EMPTY = "email.cannot.be.empty";

	/**
	 * 邮箱已注册，请更换邮箱
	 */
	String EMAIL_HAS_BEEN_REGISTERED = "email.has.been.registered";

	/**
	 * 验证码无效
	 */
	String VERIFICATION_CODE_IS_INCALID = "verification.code.is.invalid";

	/**
	 * 邀请码无效
	 */
	String INVALID_INVITATION_CODE = "invalid.invitation.code";

	/**
	 * 邀请人被禁用
	 */
	String INVITER_IS_DISABLED = "inviter.is.disabled";

	/**
	 * 用户钱包地址未授权
	 */
	String USER_WALLET_ADDRESS_NOT_AUTHORIZED = "user.wallet.address.not.authorized";

	/**
	 * 用户注册成功
	 */
	String USER_REGISTRATION_SUCCEEDED = "user.registration.succeeded";

	/**
	 * 请求参数不合法
	 */
	String REQUEST_PARAMETER_INVALID = "request.parameter.invalid";

	/**
	 * 签名验证错误
	 */
	String SIGNATURE_VERIFICATION_ERROR = "signature.verification.error";

	/**
	 * 请输入正确的公链
	 */
	String PLEASE_ENTER_THE_CORRECT_PUBLIC_CHAIN = "please.enter.the.correct.public.chain";

	/**
	 * 修改成功
	 */
	String MODIFY_SUCCESSFULLY = "modify.successfully";

	/**
	 * 修改失败
	 */
	String CHANGE_FAILURE = "change.failure";

	/**
	 * 密码不能为空
	 */
	String PASSWORD_CANNOT_BE_EMPTY = "password.cannot.be.empty";

	/**
	 * 用户uid不能为空
	 */
	String USER_UID_CANNOT_BE_EMPTY = "user.uid.cannot.be.empty";

	/**
	 * 用户语言不能为空
	 */
	String USER_LANGUAGE_CANNOT_BE_EMPTY = "user.language.cannot.be.empty";

	/**
	 * 用户不存在
	 */
	String USER_DOES_NOT_EXIST = "user.does.not.exist";

	/**
	 * 系统用户无法删除
	 */
	String SYSTEM_USER_CANNOT_BE_DELETED = "system.user.cannot.be.deleted";

	//——————Email——————————————
	/**
	 * 邮箱已提交，请勿重复发送
	 */
	String EMAIL_HAS_BEEN_SUBMITTED = "email.has.been.submitted";

	/**
	 * 邮箱格式错误
	 */
	String EMAIL_FORMAT_ERROR = "email.format.error";

	/**
	 * 发送成功
	 */
	String SEND_SUCCESSFULLY = "send.successfully";

	/**
	 * 邮箱模板类型不存在
	 */
	String EMAIL_TEMPLATE_TYPE_DOSE_NOT_EXIST = "email.template.type.does.not.exist";

	//——————Api——————————————

	/**
	 * ApiKey数量已达到上限：{0}
	 */
	String API_KEY_NUM_UPPER_LIMIT = "api.key.num.upper.limit";

	/**
	 * 开启提现权限时，必须设置ip白名单
	 */
	String MUST_SET_IP_WHITELIST = "must.set.ip.whitelist";

	/**
	 * ip白名单不能为空
	 */
	String IP_WHITELIST_CANNOT_BE_EMPTY = "ip.whitelist.cannot.be.empty";

	/**
	 * 存在重复的ip：{0}
	 */
	String DUPLICATE_IP = "duplicate.ip";
}

